package com.flash.DayProcessing.entity;

/**
 * 这是查出证券信息实体类 get/set方法 toString方法
 * @author Liy
 * @since 2022-8-24
 * @version 1.0
 */
public class SecurityMessage {
    // 证券id
    private String securityId;
    // 证券名称
    private String securityName;
    // 证券类型
    private String securityType;
    // 股数
    private int quantity;
    // 行情价格
    private double closingPrice;
    // 成本
    private double money;
    // 市值
    private double marketValue;
    // 估值增值
    private double totalPrice;

    public String getSecurityId() {
        return securityId;
    }

    public void setSecurityId(String securityId) {
        this.securityId = securityId;
    }

    public String getSecurityName() {
        return securityName;
    }

    public void setSecurityName(String securityName) {
        this.securityName = securityName;
    }

    public String getSecurityType() {
        return securityType;
    }

    public void setSecurityType(String securityType) {
        this.securityType = securityType;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public double getClosingPrice() {
        return closingPrice;
    }

    public void setClosingPrice(double closingPrice) {
        this.closingPrice = closingPrice;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public double getMarketValue() {
        return marketValue;
    }

    public void setMarketValue(double marketValue) {
        this.marketValue = marketValue;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    @Override
    public String toString() {
        return "SecurityMessage{" +
                "securityId='" + securityId + '\'' +
                ", securityName='" + securityName + '\'' +
                ", securityType='" + securityType + '\'' +
                ", quantity=" + quantity +
                ", closingPrice=" + closingPrice +
                ", money=" + money +
                ", marketValue=" + marketValue +
                ", totalPrice=" + totalPrice +
                '}';
    }
}
